<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2017-03-07
 * Time: 14:48
 */

namespace app\src\goods\action;
use app\src\base\action\BaseAction;
use app\src\goods\logic\ProductAttrLogic;
use app\src\goods\logic\ProductImageLogic;
use app\src\goods\logic\ProductLogic;
use app\src\goods\logic\ProductPropLogic;

/**
 * Class ProductCloneAction
 * 产品复制操作
 * @package app\src\goods\action
 */
class ProductCloneAction extends BaseAction
{
    /**
     * 根据商品id，克隆一个商品
     * @param $pid
     */
    public function cloneBy($pid){
        //1. itboye_product
        //2. itboye_product_image
        //3. itboye_product_attr
        //4. itboye_product_prop
        //5. itboye_product_sku
//        $logic = new ProductLogic();
//        $imgLogic = new ProductImageLogic();
//        $attrLogic = new ProductAttrLogic();
//        $propLogic = new ProductPropLogic();



    }
}